package com.py.credit.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.py.credit.entity.XyjgDrqydf;
import com.py.framework.core.common.Page;

public interface SzjgService {

	
	List<Map<String, Object>> getByConditionForPage(String rank,String modelId,List<String> showColumns, String[] additionalColumns,
			String condition, Page page);
	
	List<Map<String, Object>> get2ByConditionForPage(String rank,List<String> showColumns, String[] additionalColumns,
			String condition, Page page);
	
	
	Map<String, Object> getModelByOffice(String ywId,String officeId);
	
	List<Map<String, Object>> getByDrqyConditionForPage(String name,String startTime,String endTime,
			String userId,String deptId,String areaId,List<String> showColumns, String[] additionalColumns,
			String condition, Page page);

	List<String> getBumeng(String ywId);
	
	List<String> getDengjiByModel(String modelId);
	
	 void addQy(CommonsMultipartFile file, String userId, String name,String deptId,String areaId,String officeName,String allParentId,String userName) throws Exception;

	 List<Map<String, Object>> getByDrqydf(String modelId,String id,String ranks,String startfen,String endfen);
	 List<Map<String, Object>> get2ByDrqydf(String id,String ranks,String startfen,String endfen);
	 
	 Long addXyjg(String drId, String yongtu);
	 
	 void addXyjgqy(XyjgDrqydf xyjgDrqydf,String id);
	 
	 List<Map<String, Object>> getByXyjgConditionForPage(String id,String name,String startTime,String endTime,
				String userId,String deptId,String areaId,List<String> showColumns, String[] additionalColumns,
				String condition, Page page);
	 
	 List<Map<String, Object>> getByXyjgqyConditionForPage(String id,List<String> showColumns, String[] additionalColumns,
				String condition, Page page);
	 
	 
	 List<Map<String, Object>> getByXyjgtjConditionForPage(String deptId,String yongtu,List<String> showColumns, String[] additionalColumns,
				String condition, Page page);
	 
	 List<Map> getLhcj(String ztmc,String bm,String type);
	 
	 
}
